package lesson12;

import io.datajek.spring.basics.movierecommendersystem.lesson4.Filter;
import javax.inject.Named;
import org.springframework.stereotype.Component;
@Named
@Component("CF")

public class CollaborativeFilter implements Filter {
 public String[] getRecommendations(String movie){
     //协作式过滤器的逻辑
     return new String[]{
             "Finding Nemo","Ice Age","Toy Story"
     };
 }
}
